//用户发表建议需要的参数类型
export interface Recommend {
    userId: number,
    type: string,
    content: string,
}

//用户评论需要的参数类型
export interface Comments {
    userId: number,
    content: string,
}

//点赞需要的参数类型
export interface GiveALike {
    commentsId: number,
    userId: number,
}

//二级评论需要的参数类型
export interface SecondComments {
    firstId: number,
    secondOneUserId: number,
    secondTwoUserId: number,
    content: string,
}

//一级评论和二级评论参数类型
export interface FirstAndSecondComments {
    id: number,
    userId: number,
    content: string,
    likeCount: number,
    createTime: Date,
    isLike: number,
    user: {
        avatar: string,
        nickname: string,
    },
    secondComments: Array<{
        id: number,
        firstId: number,
        secondOneUserId: number,
        secondTwoUserId: number,
        content: string,
        createTime: Date,
        secondOneUser: {
            avatar: string,
            nickname: string,
        },
        secondTwoUser: {
            avatar: string,
            nickname: string,
        }
    }>
}